<?php
/*
 * Created on 31 mars 07
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 class Comment extends appModel{
 	var $name = 'Comment';
 	
 	var $validate = array(
 					'content' => VALID_NOT_EMPTY,
 					'author' => VALID_NOT_EMPTY,
 					'email' => VALID_EMAIL
 					);
 	
 	var $belongsTo = array('Post' => array(
 									'className' => 'Post',
 									'conditions' => '',
 									'order' => '',
 									'foreignKey' => 'post_id'
 									)
 								);
 	
 }
?>
